#{extends 'content.html' /}
#{set title: '修改图像' /}
#{set photo :'active' /}
#{set user_name : usr.name /}
#{set user_img : usr.avatar/}
#{set user_post_cnt : usr.postCnt/}
#{set user_followers_cnt : usr.followersCnt/}
#{set user_following_cnt : usr.followingCnt/}
<br>
<h2>修改头像</h2>
<hr>
<div style=" position: relative;left: 150px;top: 50px" >
<img src="#{get 'user_img'/}" style="width: 200px;height: 200px"/>
<form action="@@{UserInfoSet.savePhoto}" method="post" enctype="multipart/form-data">
    <input type="file" name="attachment" accept="image/*"/>
    <input class="btn btn-primary" type="submit" value="保存" style=" position: relative;left: -240px;top:25px"/>
</form>
</div>

